import {BaseEntity, BaseApi} from "@/api/BaseApi";
import {sys_application_name} from "@/api/constant";

class SysDictApi<T> extends BaseApi<T> {
    API_PREFIX = sys_application_name + '/SysDict';
}

export default new SysDictApi<Dict>();

export interface Dict extends BaseEntity{
    id?: number,
    name?: string,
    code?: string,
    category?: string,
    disabled?: boolean,
}